//
//  PublicAlert.h
//  AlertAction
//
//  Created by Seven-Augus on 2017/2/27.
//  Copyright © 2017年 Seven-Augus. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "CoverViewController.h"

@interface PublicAlert : NSObject

/**
 * @pragma 寻常AlertController
 * VC 当前视图控制器
 * title 标题
 * message 信息
 * preferrentStyle 类型
 * cancelActionTitle 取消类型文字描述
 * sureActionTitle 确认类型文字描述（大部分都是这个类型的）
 * deleteActionTitle 删除类型文字描述
 */
+ (void)publicSimpleAlertController:(UIViewController *)VC Title:(NSString *)title Message:(NSString *)message Style:(UIAlertControllerStyle)preferredStyle CancelActionTitle:(NSString *)cancelActionTitle SureActionTitle:(NSString *)sureActionTitle DeleteActionTitle:(NSString *)deleteActionTitle CancelActions:(void(^)(id *result))cancelActions SureActions:(void(^)(id *result))sureActions DeleteActions:(void(^)(id *resutl))deleteActions;

/**
 * @pragma 带输入框的AlertController
 */
+ (void)publicWithTextFiledAlertConroller:(UIViewController *)VC Title:(NSString *)title Message:(NSString *)message Style:(UIAlertControllerStyle)preferredStyle TextFileFirstPlace:(NSString *)textFileFirstPlace TextFileSecondPlace:(NSString *)textFileSecondPlace CancelActionTitle:(NSString *)cancelActionTitle SureActionTitle:(NSString *)sureActionTitle CancelActions:(void(^)(id *result))cancelActions SureActions:(void(^)(id *result))sureActions;

@end
